package com.hq.mapper;

import com.hq.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author hq
 */
public interface UserMapper {
    @Select("select * from user where name = #{name}")
    User getUser(String name);

    User getUser1(String name);

    User test(@Param("lists") List<List<Long>> lists);
}
